//!Reference: AnkhRestart.dll

using System;
using Glider.Common.Objects;

namespace Glider.Common.Objects
{
    public class AnkhBGLoader : GGameClass
    {
        public override bool IsSelectable { get { return false; } }
        public override string DisplayName { get { return "AnkhRestart " + AnkhRestart.Main.version; } }

        private AnkhRestart.Main AnkhRestartMain;

        public override void Startup()
        {
		    AnkhRestartMain = AnkhRestart.Main.Instance;
		
        	Context.Log(DisplayName + " loaded.");
        }

        public override void Shutdown()
        {
		    AnkhRestartMain.Dispose();
            AnkhRestartMain = null;
		
		    Context.Log(DisplayName + " unloaded.");
        }

    }
}